
package Navigation;

import java.util.Hashtable;

class StreetCollectionImpl implements ICollection {
    private ICollection coordinateCollection;
    private Hashtable<String,StreetTopologyObjectImpl> streets;
	
	public StreetCollectionImpl(ICollection coordinateCollection){
		this.coordinateCollection = coordinateCollection;
		streets = new Hashtable<String,StreetTopologyObjectImpl>();
    }

    public void add(ITopologyObject iTopologyObject) {
        StreetTopologyObjectImpl street = (StreetTopologyObjectImpl)iTopologyObject;
    	streets.put(street.getGaoID(), street);
    }

	public ITopologyObject getTopologyObject(Object key) {
		// TODO Auto-generated method stub
		return null;
	}


}
